package com.czh.subject.domain.handler.subject;

import com.czh.subject.common.enums.SubjectTypeEnum;
import com.czh.subject.domain.entity.SubjectAnswerAndOptionBO;
import com.czh.subject.domain.entity.SubjectInfoBO;

/**
 * @author czh
 * @description 不同类型的题目处理接口
 * @date 2024/7/31
 */
public interface SubjectTypeHandler {

    SubjectTypeEnum getHandlerType();

    boolean add(SubjectInfoBO subjectInfo);

    SubjectAnswerAndOptionBO queryOptionAndAnswer(Long id);
}
